<%@ page contentType="text/html; charset=utf-8" language="java"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path;
String version = (String)request.getAttribute("version");
String charset = (String)request.getAttribute("charset");
String language = (String)request.getAttribute("language");
String signType = (String)request.getAttribute("signType");
String tranCode = (String)request.getAttribute("tranCode");
String merchantID = (String)request.getAttribute("merchantID");
String merOrderNum = (String)request.getAttribute("merOrderNum");
String tranAmt = (String)request.getAttribute("tranAmt");
String feeAmt = (String)request.getAttribute("feeAmt");
String currencyType = (String)request.getAttribute("currencyType");
String frontMerUrl = (String)request.getAttribute("frontMerUrl");
String backgroundMerUrl = (String)request.getAttribute("backgroundMerUrl");
String tranDateTime = (String)request.getAttribute("tranDateTime");
String virCardNoIn = (String)request.getAttribute("virCardNoIn");
String tranIP = (String)request.getAttribute("tranIP");
String isRepeatSubmit = (String)request.getAttribute("isRepeatSubmit");
String goodsName = (String)request.getAttribute("goodsName");
String goodsDetail = (String)request.getAttribute("goodsDetail");
String buyerName = (String)request.getAttribute("buyerName");
String buyerContact = (String)request.getAttribute("buyerContact");
String merRemark1 = (String)request.getAttribute("merRemark1");
String merRemark2 = (String)request.getAttribute("merRemark2");
String bankCode = (String)request.getAttribute("bankCode");
String userType = (String)request.getAttribute("userType");
String signValue = (String)request.getAttribute("signValue");
%>



<html>
<head>
<style>
body{text-align:center;margin:0 atuto;}
.pzs{
	margin: 0;font-family: 'Karla', sans-serif;
  font-weight: bold;
  color: #317eac;
  text-rendering: optimizelegibility;
}
</style>
</head>
<body>
<div style="margin-top: 250px" align="center" >
		<p class="pzs">${title }</p>
		<img src="<%=basePath %>/img/ajax-loaders/ajax-loader-7.gif" />
	</div>
<form action="https://gateway.gopay.com.cn/Trans/WebClientAction.do" method="POST" name="gopay">
	<input type="hidden" name="version" value="<%=version%>">
	<input type="hidden" name="charset" value="<%=charset%>">
	<input type="hidden" name="language" value="<%=language%>">
	<input type="hidden" name="signType" value="<%=signType%>">
	<input type="hidden" name="tranCode" value="<%=tranCode%>">
	<input type="hidden" name="merchantID" value="<%=merchantID%>">
	<input type="hidden" name="merOrderNum" value="<%=merOrderNum%>">
	<input type="hidden" name="tranAmt" value="<%=tranAmt%>">
	<input type="hidden" name="feeAmt" value="<%=feeAmt%>">
	<input type="hidden" name="currencyType" value="<%=currencyType%>">
	<input type="hidden" name="frontMerUrl" value="<%=frontMerUrl%>">
	<input type="hidden" name="backgroundMerUrl" value="<%=backgroundMerUrl%>">
	<input type="hidden" name="tranDateTime" value="<%=tranDateTime%>">
	<input type="hidden" name="virCardNoIn" value="<%=virCardNoIn%>">
	<input type="hidden" name="tranIP" value="<%=tranIP%>">
	<input type="hidden" name="isRepeatSubmit" value="<%=isRepeatSubmit%>">
	<input type="hidden" name="goodsName" value="<%=goodsName%>">
	<input type="hidden" name="goodsDetail" value="<%=goodsDetail%>">
	<input type="hidden" name="buyerName" value="<%=buyerName%>">
	<input type="hidden" name="buyerContact" value="<%=buyerContact%>">
	<input type="hidden" name="merRemark1" value="<%=merRemark1%>">
	<input type="hidden" name="merRemark2" value="<%=merRemark2%>">
	<input type="hidden" name="bankCode" value="<%=bankCode%>">
	<input type="hidden" name="userType" value="<%=userType%>">
	<input type="hidden" name="signValue" value="<%=signValue%>">
</form>
</body>
<script type="text/javascript">
		function sub(){
			document.gopay.submit();
		}
		var titletime = ${titletime};
		setTimeout(sub,titletime);
	</script>
</html>